package com.yidu.drug.dao;

import java.util.List;

import com.yidu.drug.model.PolicyModel;

/**
 * 政策dao
 * @author 吴淑侦
 * @date 2018年8月22日 下午2:38:33
 * @version 1.0
 */
public interface PolicyModelMapper {
    int deleteByPrimaryKey(String policyId);

    int insert(PolicyModel record);

    int insertSelective(PolicyModel record);

    PolicyModel selectByPrimaryKey(String policyId);

    int updateByPrimaryKeySelective(PolicyModel record);

    int updateByPrimaryKey(PolicyModel record);
    
    List<PolicyModel> findAll(PolicyModel policyModel);
    
    Long findRows(PolicyModel policyModel);
    
    List<PolicyModel> findByPolicyId(PolicyModel policyModel);
    
    int updateById(String policyId);
}